projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d86239
)
xentrace: Mark data_size __read_mostly because it's only written once
author
Olaf Hering
<olaf@aepfle.de>
Mon, 9 May 2011 08:59:13 +0000
(09:59 +0100)
committer
Olaf Hering
<olaf@aepfle.de>
Mon, 9 May 2011 08:59:13 +0000
(09:59 +0100)
Signed-off-by: Olaf Hering <olaf@aepfle.de>
xen/common/trace.c
patch
|
blob
|
history
diff --git
a/xen/common/trace.c
b/xen/common/trace.c
index 572d1c814ed5a03a2f69ed6efee0d0ae114a9be5..9c2250e168fda116874a33672a34d3eee9e30742 100644
(file)
--- a/
xen/common/trace.c
+++ b/
xen/common/trace.c
@@
-54,7
+54,7
@@
static unsigned int t_info_pages;
static DEFINE_PER_CPU_READ_MOSTLY(struct t_buf *, t_bufs);
static DEFINE_PER_CPU_READ_MOSTLY(unsigned char *, t_data);
static DEFINE_PER_CPU_READ_MOSTLY(spinlock_t, t_lock);
-static u32 data_size;
+static u32 data_size
__read_mostly
;
/* High water mark for trace buffers; */
/* Send virtual interrupt when buffer level reaches this point */